// 评价管理
import request from '@/utils/request'

// 1 评价分页(所有评价)
export function pingjiaListApi(params) {
  return request({
    url: '/bs/pingjia/allPage',
    method: 'get',
    params
  })
}

// 2 删除评价
export function delPingjiaApi(pingjiaId) {
  return request({
    url: `/bs/pingjia/delete/${pingjiaId}`,
    method: 'delete'
  })
}

// 3 审核评价
export function examinePingjiaApi(data) {
  return request({
    url: `/bs/pingjia/examinePinajia`,
    method: 'put',
    data
  })
}
